package com.ruoyi.training.service;

import java.util.List;
import com.ruoyi.training.domain.TrainingReservation;

/**
 * 培训预约记录Service接口
 * 
 * @author WorrilessGo
 * @date 2025-09-24
 */
public interface ITrainingReservationService 
{
    /**
     * 查询培训预约记录
     * 
     * @param trainingReservationId 培训预约记录主键
     * @return 培训预约记录
     */
    public TrainingReservation selectTrainingReservationByTrainingReservationId(String trainingReservationId);

    /**
     * 查询培训预约记录列表
     * 
     * @param trainingReservation 培训预约记录
     * @return 培训预约记录集合
     */
    public List<TrainingReservation> selectTrainingReservationList(TrainingReservation trainingReservation);

    /**
     * 新增培训预约记录
     * 
     * @param trainingReservation 培训预约记录
     * @return 结果
     */
    public int insertTrainingReservation(TrainingReservation trainingReservation);

    /**
     * 修改培训预约记录
     * 
     * @param trainingReservation 培训预约记录
     * @return 结果
     */
    public int updateTrainingReservation(TrainingReservation trainingReservation);

    /**
     * 批量删除培训预约记录
     * 
     * @param trainingReservationIds 需要删除的培训预约记录主键集合
     * @return 结果
     */
    public int deleteTrainingReservationByTrainingReservationIds(String[] trainingReservationIds);

    /**
     * 删除培训预约记录信息
     * 
     * @param trainingReservationId 培训预约记录主键
     * @return 结果
     */
    public int deleteTrainingReservationByTrainingReservationId(String trainingReservationId);
}
